package cn.getech.data.development.entity.dataMap;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DataApplicationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer applyType;

    public DataApplicationExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Integer getApplyType() {
        return applyType;
    }

    public void setApplyType(Integer applyType) {
        this.applyType = applyType;
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andTableIdIsNull() {
            addCriterion("table_id is null");
            return (Criteria) this;
        }

        public Criteria andTableIdIsNotNull() {
            addCriterion("table_id is not null");
            return (Criteria) this;
        }

        public Criteria andTableIdEqualTo(Integer value) {
            addCriterion("table_id =", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdNotEqualTo(Integer value) {
            addCriterion("table_id <>", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdGreaterThan(Integer value) {
            addCriterion("table_id >", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("table_id >=", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdLessThan(Integer value) {
            addCriterion("table_id <", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdLessThanOrEqualTo(Integer value) {
            addCriterion("table_id <=", value, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdIn(List<Integer> values) {
            addCriterion("table_id in", values, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdNotIn(List<Integer> values) {
            addCriterion("table_id not in", values, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdBetween(Integer value1, Integer value2) {
            addCriterion("table_id between", value1, value2, "tableId");
            return (Criteria) this;
        }

        public Criteria andTableIdNotBetween(Integer value1, Integer value2) {
            addCriterion("table_id not between", value1, value2, "tableId");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeIsNull() {
            addCriterion("submit_time is null");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeIsNotNull() {
            addCriterion("submit_time is not null");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeEqualTo(Date value) {
            addCriterion("submit_time =", value, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeNotEqualTo(Date value) {
            addCriterion("submit_time <>", value, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeGreaterThan(Date value) {
            addCriterion("submit_time >", value, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("submit_time >=", value, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeLessThan(Date value) {
            addCriterion("submit_time <", value, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeLessThanOrEqualTo(Date value) {
            addCriterion("submit_time <=", value, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeIn(List<Date> values) {
            addCriterion("submit_time in", values, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeNotIn(List<Date> values) {
            addCriterion("submit_time not in", values, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeBetween(Date value1, Date value2) {
            addCriterion("submit_time between", value1, value2, "submitTime");
            return (Criteria) this;
        }

        public Criteria andSubmitTimeNotBetween(Date value1, Date value2) {
            addCriterion("submit_time not between", value1, value2, "submitTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNull() {
            addCriterion("handle_time is null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNotNull() {
            addCriterion("handle_time is not null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeEqualTo(Date value) {
            addCriterion("handle_time =", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotEqualTo(Date value) {
            addCriterion("handle_time <>", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThan(Date value) {
            addCriterion("handle_time >", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("handle_time >=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThan(Date value) {
            addCriterion("handle_time <", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThanOrEqualTo(Date value) {
            addCriterion("handle_time <=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIn(List<Date> values) {
            addCriterion("handle_time in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotIn(List<Date> values) {
            addCriterion("handle_time not in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeBetween(Date value1, Date value2) {
            addCriterion("handle_time between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotBetween(Date value1, Date value2) {
            addCriterion("handle_time not between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeIsNull() {
            addCriterion("rollback_time is null");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeIsNotNull() {
            addCriterion("rollback_time is not null");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeEqualTo(Date value) {
            addCriterion("rollback_time =", value, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeNotEqualTo(Date value) {
            addCriterion("rollback_time <>", value, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeGreaterThan(Date value) {
            addCriterion("rollback_time >", value, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("rollback_time >=", value, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeLessThan(Date value) {
            addCriterion("rollback_time <", value, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeLessThanOrEqualTo(Date value) {
            addCriterion("rollback_time <=", value, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeIn(List<Date> values) {
            addCriterion("rollback_time in", values, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeNotIn(List<Date> values) {
            addCriterion("rollback_time not in", values, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeBetween(Date value1, Date value2) {
            addCriterion("rollback_time between", value1, value2, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andRollbackTimeNotBetween(Date value1, Date value2) {
            addCriterion("rollback_time not between", value1, value2, "rollbackTime");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayIsNull() {
            addCriterion("effective_day is null");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayIsNotNull() {
            addCriterion("effective_day is not null");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayEqualTo(Integer value) {
            addCriterion("effective_day =", value, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayNotEqualTo(Integer value) {
            addCriterion("effective_day <>", value, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayGreaterThan(Integer value) {
            addCriterion("effective_day >", value, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("effective_day >=", value, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayLessThan(Integer value) {
            addCriterion("effective_day <", value, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayLessThanOrEqualTo(Integer value) {
            addCriterion("effective_day <=", value, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayIn(List<Integer> values) {
            addCriterion("effective_day in", values, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayNotIn(List<Integer> values) {
            addCriterion("effective_day not in", values, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayBetween(Integer value1, Integer value2) {
            addCriterion("effective_day between", value1, value2, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDayNotBetween(Integer value1, Integer value2) {
            addCriterion("effective_day not between", value1, value2, "effectiveDay");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineIsNull() {
            addCriterion("effective_deadline is null");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineIsNotNull() {
            addCriterion("effective_deadline is not null");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineEqualTo(Date value) {
            addCriterion("effective_deadline =", value, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineNotEqualTo(Date value) {
            addCriterion("effective_deadline <>", value, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineGreaterThan(Date value) {
            addCriterion("effective_deadline >", value, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineGreaterThanOrEqualTo(Date value) {
            addCriterion("effective_deadline >=", value, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineLessThan(Date value) {
            addCriterion("effective_deadline <", value, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineLessThanOrEqualTo(Date value) {
            addCriterion("effective_deadline <=", value, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineIn(List<Date> values) {
            addCriterion("effective_deadline in", values, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineNotIn(List<Date> values) {
            addCriterion("effective_deadline not in", values, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineBetween(Date value1, Date value2) {
            addCriterion("effective_deadline between", value1, value2, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andEffectiveDeadlineNotBetween(Date value1, Date value2) {
            addCriterion("effective_deadline not between", value1, value2, "effectiveDeadline");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNull() {
            addCriterion("apply_status is null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNotNull() {
            addCriterion("apply_status is not null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusEqualTo(Integer value) {
            addCriterion("apply_status =", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotEqualTo(Integer value) {
            addCriterion("apply_status <>", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThan(Integer value) {
            addCriterion("apply_status >", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("apply_status >=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThan(Integer value) {
            addCriterion("apply_status <", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThanOrEqualTo(Integer value) {
            addCriterion("apply_status <=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIn(List<Integer> values) {
            addCriterion("apply_status in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotIn(List<Integer> values) {
            addCriterion("apply_status not in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusBetween(Integer value1, Integer value2) {
            addCriterion("apply_status between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("apply_status not between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyReasonIsNull() {
            addCriterion("apply_reason is null");
            return (Criteria) this;
        }

        public Criteria andApplyReasonIsNotNull() {
            addCriterion("apply_reason is not null");
            return (Criteria) this;
        }

        public Criteria andApplyReasonEqualTo(String value) {
            addCriterion("apply_reason =", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonNotEqualTo(String value) {
            addCriterion("apply_reason <>", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonGreaterThan(String value) {
            addCriterion("apply_reason >", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonGreaterThanOrEqualTo(String value) {
            addCriterion("apply_reason >=", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonLessThan(String value) {
            addCriterion("apply_reason <", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonLessThanOrEqualTo(String value) {
            addCriterion("apply_reason <=", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonLike(String value) {
            addCriterion("apply_reason like", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonNotLike(String value) {
            addCriterion("apply_reason not like", value, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonIn(List<String> values) {
            addCriterion("apply_reason in", values, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonNotIn(List<String> values) {
            addCriterion("apply_reason not in", values, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonBetween(String value1, String value2) {
            addCriterion("apply_reason between", value1, value2, "applyReason");
            return (Criteria) this;
        }

        public Criteria andApplyReasonNotBetween(String value1, String value2) {
            addCriterion("apply_reason not between", value1, value2, "applyReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonIsNull() {
            addCriterion("rollback_reason is null");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonIsNotNull() {
            addCriterion("rollback_reason is not null");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonEqualTo(String value) {
            addCriterion("rollback_reason =", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonNotEqualTo(String value) {
            addCriterion("rollback_reason <>", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonGreaterThan(String value) {
            addCriterion("rollback_reason >", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonGreaterThanOrEqualTo(String value) {
            addCriterion("rollback_reason >=", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonLessThan(String value) {
            addCriterion("rollback_reason <", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonLessThanOrEqualTo(String value) {
            addCriterion("rollback_reason <=", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonLike(String value) {
            addCriterion("rollback_reason like", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonNotLike(String value) {
            addCriterion("rollback_reason not like", value, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonIn(List<String> values) {
            addCriterion("rollback_reason in", values, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonNotIn(List<String> values) {
            addCriterion("rollback_reason not in", values, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonBetween(String value1, String value2) {
            addCriterion("rollback_reason between", value1, value2, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRollbackReasonNotBetween(String value1, String value2) {
            addCriterion("rollback_reason not between", value1, value2, "rollbackReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonIsNull() {
            addCriterion("rejection_reason is null");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonIsNotNull() {
            addCriterion("rejection_reason is not null");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonEqualTo(String value) {
            addCriterion("rejection_reason =", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonNotEqualTo(String value) {
            addCriterion("rejection_reason <>", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonGreaterThan(String value) {
            addCriterion("rejection_reason >", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonGreaterThanOrEqualTo(String value) {
            addCriterion("rejection_reason >=", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonLessThan(String value) {
            addCriterion("rejection_reason <", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonLessThanOrEqualTo(String value) {
            addCriterion("rejection_reason <=", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonLike(String value) {
            addCriterion("rejection_reason like", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonNotLike(String value) {
            addCriterion("rejection_reason not like", value, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonIn(List<String> values) {
            addCriterion("rejection_reason in", values, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonNotIn(List<String> values) {
            addCriterion("rejection_reason not in", values, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonBetween(String value1, String value2) {
            addCriterion("rejection_reason between", value1, value2, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andRejectionReasonNotBetween(String value1, String value2) {
            addCriterion("rejection_reason not between", value1, value2, "rejectionReason");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdIsNull() {
            addCriterion("approve_user_id is null");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdIsNotNull() {
            addCriterion("approve_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdEqualTo(Long value) {
            addCriterion("approve_user_id =", value, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdNotEqualTo(Long value) {
            addCriterion("approve_user_id <>", value, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdGreaterThan(Long value) {
            addCriterion("approve_user_id >", value, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("approve_user_id >=", value, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdLessThan(Long value) {
            addCriterion("approve_user_id <", value, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdLessThanOrEqualTo(Long value) {
            addCriterion("approve_user_id <=", value, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdIn(List<Long> values) {
            addCriterion("approve_user_id in", values, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdNotIn(List<Long> values) {
            addCriterion("approve_user_id not in", values, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdBetween(Long value1, Long value2) {
            addCriterion("approve_user_id between", value1, value2, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andApproveUserIdNotBetween(Long value1, Long value2) {
            addCriterion("approve_user_id not between", value1, value2, "approveUserId");
            return (Criteria) this;
        }

        public Criteria andQueryIsNull() {
            addCriterion("query is null");
            return (Criteria) this;
        }

        public Criteria andQueryIsNotNull() {
            addCriterion("query is not null");
            return (Criteria) this;
        }

        public Criteria andQueryEqualTo(Integer value) {
            addCriterion("query =", value, "query");
            return (Criteria) this;
        }

        public Criteria andQueryNotEqualTo(Integer value) {
            addCriterion("query <>", value, "query");
            return (Criteria) this;
        }

        public Criteria andQueryGreaterThan(Integer value) {
            addCriterion("query >", value, "query");
            return (Criteria) this;
        }

        public Criteria andQueryGreaterThanOrEqualTo(Integer value) {
            addCriterion("query >=", value, "query");
            return (Criteria) this;
        }

        public Criteria andQueryLessThan(Integer value) {
            addCriterion("query <", value, "query");
            return (Criteria) this;
        }

        public Criteria andQueryLessThanOrEqualTo(Integer value) {
            addCriterion("query <=", value, "query");
            return (Criteria) this;
        }

        public Criteria andQueryIn(List<Integer> values) {
            addCriterion("query in", values, "query");
            return (Criteria) this;
        }

        public Criteria andQueryNotIn(List<Integer> values) {
            addCriterion("query not in", values, "query");
            return (Criteria) this;
        }

        public Criteria andQueryBetween(Integer value1, Integer value2) {
            addCriterion("query between", value1, value2, "query");
            return (Criteria) this;
        }

        public Criteria andQueryNotBetween(Integer value1, Integer value2) {
            addCriterion("query not between", value1, value2, "query");
            return (Criteria) this;
        }

        public Criteria andUpdateIsNull() {
            addCriterion("`update` is null");
            return (Criteria) this;
        }

        public Criteria andUpdateIsNotNull() {
            addCriterion("`update` is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateEqualTo(Integer value) {
            addCriterion("`update` =", value, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateNotEqualTo(Integer value) {
            addCriterion("`update` <>", value, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateGreaterThan(Integer value) {
            addCriterion("`update` >", value, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateGreaterThanOrEqualTo(Integer value) {
            addCriterion("`update` >=", value, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateLessThan(Integer value) {
            addCriterion("`update` <", value, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateLessThanOrEqualTo(Integer value) {
            addCriterion("`update` <=", value, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateIn(List<Integer> values) {
            addCriterion("`update` in", values, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateNotIn(List<Integer> values) {
            addCriterion("`update` not in", values, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateBetween(Integer value1, Integer value2) {
            addCriterion("`update` between", value1, value2, "update");
            return (Criteria) this;
        }

        public Criteria andUpdateNotBetween(Integer value1, Integer value2) {
            addCriterion("`update` not between", value1, value2, "update");
            return (Criteria) this;
        }

        public Criteria andDeleteIsNull() {
            addCriterion("`delete` is null");
            return (Criteria) this;
        }

        public Criteria andDeleteIsNotNull() {
            addCriterion("`delete` is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteEqualTo(Integer value) {
            addCriterion("`delete` =", value, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteNotEqualTo(Integer value) {
            addCriterion("`delete` <>", value, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteGreaterThan(Integer value) {
            addCriterion("`delete` >", value, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("`delete` >=", value, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteLessThan(Integer value) {
            addCriterion("`delete` <", value, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("`delete` <=", value, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteIn(List<Integer> values) {
            addCriterion("`delete` in", values, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteNotIn(List<Integer> values) {
            addCriterion("`delete` not in", values, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteBetween(Integer value1, Integer value2) {
            addCriterion("`delete` between", value1, value2, "delete");
            return (Criteria) this;
        }

        public Criteria andDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("`delete` not between", value1, value2, "delete");
            return (Criteria) this;
        }

        public Criteria andAllIsNull() {
            addCriterion("`all` is null");
            return (Criteria) this;
        }

        public Criteria andAllIsNotNull() {
            addCriterion("`all` is not null");
            return (Criteria) this;
        }

        public Criteria andAllEqualTo(Integer value) {
            addCriterion("`all` =", value, "all");
            return (Criteria) this;
        }

        public Criteria andAllNotEqualTo(Integer value) {
            addCriterion("`all` <>", value, "all");
            return (Criteria) this;
        }

        public Criteria andAllGreaterThan(Integer value) {
            addCriterion("`all` >", value, "all");
            return (Criteria) this;
        }

        public Criteria andAllGreaterThanOrEqualTo(Integer value) {
            addCriterion("`all` >=", value, "all");
            return (Criteria) this;
        }

        public Criteria andAllLessThan(Integer value) {
            addCriterion("`all` <", value, "all");
            return (Criteria) this;
        }

        public Criteria andAllLessThanOrEqualTo(Integer value) {
            addCriterion("`all` <=", value, "all");
            return (Criteria) this;
        }

        public Criteria andAllIn(List<Integer> values) {
            addCriterion("`all` in", values, "all");
            return (Criteria) this;
        }

        public Criteria andAllNotIn(List<Integer> values) {
            addCriterion("`all` not in", values, "all");
            return (Criteria) this;
        }

        public Criteria andAllBetween(Integer value1, Integer value2) {
            addCriterion("`all` between", value1, value2, "all");
            return (Criteria) this;
        }

        public Criteria andAllNotBetween(Integer value1, Integer value2) {
            addCriterion("`all` not between", value1, value2, "all");
            return (Criteria) this;
        }

        public Criteria andAssignIsNull() {
            addCriterion("assign is null");
            return (Criteria) this;
        }

        public Criteria andAssignIsNotNull() {
            addCriterion("assign is not null");
            return (Criteria) this;
        }

        public Criteria andAssignEqualTo(Integer value) {
            addCriterion("assign =", value, "assign");
            return (Criteria) this;
        }


        public Criteria andAssignNotEqualTo(Integer value) {
            addCriterion("assign <>", value, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignGreaterThan(Integer value) {
            addCriterion("assign >", value, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignGreaterThanOrEqualTo(Integer value) {
            addCriterion("assign >=", value, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignLessThan(Integer value) {
            addCriterion("assign <", value, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignLessThanOrEqualTo(Integer value) {
            addCriterion("assign <=", value, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignIn(List<Integer> values) {
            addCriterion("assign in", values, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignNotIn(List<Integer> values) {
            addCriterion("assign not in", values, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignBetween(Integer value1, Integer value2) {
            addCriterion("assign between", value1, value2, "assign");
            return (Criteria) this;
        }

        public Criteria andAssignNotBetween(Integer value1, Integer value2) {
            addCriterion("assign not between", value1, value2, "assign");
            return (Criteria) this;
        }

        public Criteria andExportIsNull() {
            addCriterion("export is null");
            return (Criteria) this;
        }

        public Criteria andExportIsNotNull() {
            addCriterion("export is not null");
            return (Criteria) this;
        }

        public Criteria andExportEqualTo(Integer value) {
            addCriterion("export =", value, "export");
            return (Criteria) this;
        }

        public Criteria andExportNotEqualTo(Integer value) {
            addCriterion("export <>", value, "export");
            return (Criteria) this;
        }

        public Criteria andExportGreaterThan(Integer value) {
            addCriterion("export >", value, "export");
            return (Criteria) this;
        }

        public Criteria andExportGreaterThanOrEqualTo(Integer value) {
            addCriterion("export >=", value, "export");
            return (Criteria) this;
        }

        public Criteria andExportLessThan(Integer value) {
            addCriterion("export <", value, "export");
            return (Criteria) this;
        }

        public Criteria andExportLessThanOrEqualTo(Integer value) {
            addCriterion("export <=", value, "export");
            return (Criteria) this;
        }

        public Criteria andExportIn(List<Integer> values) {
            addCriterion("export in", values, "export");
            return (Criteria) this;
        }

        public Criteria andExportNotIn(List<Integer> values) {
            addCriterion("export not in", values, "export");
            return (Criteria) this;
        }

        public Criteria andExportBetween(Integer value1, Integer value2) {
            addCriterion("export between", value1, value2, "export");
            return (Criteria) this;
        }

        public Criteria andExportNotBetween(Integer value1, Integer value2) {
            addCriterion("export not between", value1, value2, "export");
            return (Criteria) this;
        }

        public Criteria andDecryptIsNull() {
            addCriterion("decrypt is null");
            return (Criteria) this;
        }

        public Criteria andDecryptIsNotNull() {
            addCriterion("decrypt is not null");
            return (Criteria) this;
        }

        public Criteria andDecryptEqualTo(Integer value) {
            addCriterion("decrypt =", value, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptNotEqualTo(Integer value) {
            addCriterion("decrypt <>", value, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptGreaterThan(Integer value) {
            addCriterion("decrypt >", value, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptGreaterThanOrEqualTo(Integer value) {
            addCriterion("decrypt >=", value, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptLessThan(Integer value) {
            addCriterion("decrypt <", value, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptLessThanOrEqualTo(Integer value) {
            addCriterion("decrypt <=", value, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptIn(List<Integer> values) {
            addCriterion("decrypt in", values, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptNotIn(List<Integer> values) {
            addCriterion("decrypt not in", values, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptBetween(Integer value1, Integer value2) {
            addCriterion("decrypt between", value1, value2, "decrypt");
            return (Criteria) this;
        }

        public Criteria andDecryptNotBetween(Integer value1, Integer value2) {
            addCriterion("decrypt not between", value1, value2, "decrypt");
            return (Criteria) this;
        }

        public Criteria andApplyTypeEqualTo(Integer value) {
            addCriterion("apply_type =", value, "applyType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}